package com.glacier.common.core.domain.query;

import java.io.Serializable;

/**
 * date 2023-02-01 09:49
 *
 * @author glacier
 * @version 1.0
 */
public class QueryWrapper<T> implements Serializable {

    private static final long serialVersionUID = -5848478405718678655L;

    /**
     * 数据
     */
    protected T data;

    public QueryWrapper() {
    }

    public QueryWrapper(T data) {
        this.data = data;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "QueryWrapper{" +
                "data=" + data +
                '}';
    }
}
